package edu.sctu.practice.class02.yangyuran.assign03.assign3_02;

/**
 * Created by Administrator on 2015/10/23.
 */
public class Circle {
    public double radius;
    public final double PI = 3.1415;

    public Circle(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    public double getArea() {
        return PI * radius * radius;
    }
}
